package cn.wolfcode.p2p.base.query;

import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

@Setter
@Getter
//登陆日志的高级查询
public class SystemDictionaryItemQueryObject extends QueryObject{
    //父ID
    private Long parentId;

    //关键字查询
    private String keyword;

    public String getKeyword(){
        return StringUtils.hasLength(keyword) ? keyword : null;
    }
}
